package com.glzn.springboot03.service;

import com.glzn.springboot03.entity.Mqtt;

import java.util.List;

/**
 * @author Lenovo
 */
public interface MqttService {
	/**
	 * 根据id查询
	 * @param id
	 * @return
	 */
	Mqtt findById(Integer id);

	/**
	 * 查询所有
	 * @return
	 */
	List<Mqtt> findAll();
}
